package com.housediyadmin.command.goodsCommand
{   	
	import com.housediyadmin.events.goodsEvents.GetAllGoodsEvent;
	import com.housediyadmin.service.GoodsRemoteObjectService;
	
	import org.robotlegs.mvcs.Command;
	
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/2/28
	 */ 
	public class GetAllGoodsCommand extends Command
	{
		[Inject]
		public var service:GoodsRemoteObjectService;
		
		[Inject]
		public var event:GetAllGoodsEvent;
		
		override public function execute():void
		{
			service.getGoodsByDict(event.dictName);
		}
	}
}